import { postBodyRequest, patchBodyRequest } from '../utils/http'

// 登录
export const login = function (param) {
  return postBodyRequest('/basicLogin', param)
}

// 退出登录
export const logout = function () {
  return postBodyRequest('/logout')
}

// 修改密码
export const changePwd = function (params) {
  return patchBodyRequest('/user/pwd', params)
}
